package com.softtown.modules.dapai.dao;

import com.softtown.common.dao.BaseDao;
import com.softtown.modules.dapai.entity.CompCityEntity;
import com.softtown.modules.dapai.entity.CompCustomerEntity;
import com.softtown.modules.dapai.entity.CompSaleOrderDetailEntity;
import com.softtown.modules.dapai.entity.CompSaleOrderEntity;
import com.softtown.modules.dapai.vo.SaleOrderCustomerVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface CompSaleOrderDao extends BaseDao<CompSaleOrderEntity> {

    List<CompSaleOrderEntity> getSaleOrderPageList(@Param("compId")Long compId, @Param("pram") String pram );

    CompSaleOrderEntity  getSaleOrderById(@Param("compId")Long compId,@Param("id")Long id);

    List<CompSaleOrderDetailEntity> getOrderDetailById(@Param("compId")Long compId,@Param("id")Long id);

}
